

import { useState } from 'react';
import { getData2 } from '../Data'
import { useMount } from 'ahooks';
import { FlexGrid } from "@grapecity/wijmo.react.grid";
import { FlexGridFilter } from "@grapecity/wijmo.react.grid.filter";

const WijmoC07 = () => {
    const [Data, setData] = useState()
    useMount(() => { setData(getData2(100000)) })
    if (Data) {
        return (
            <div className="Page">
                <FlexGrid alternatingRowStep={0} itemsSource={Data}>
                    <FlexGridFilter />
                </FlexGrid>
            </div>
        )
    }
};

export default WijmoC07;